<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="./css/bootstrap.css" />
    <link rel="stylesheet" href="./css/bootstrap-icons.css" />
    <link rel="stylesheet" href="./css/sty.css">
    <script src="./js/bootstrap.bundle.js"></script>
    <script src="./js/vue.js"></script>
    <title>用户中心</title>
  </head>
  <body>
    <!-- 导航栏 -->
    <nav class="my-nav navbar navbar-expand-lg py-3 fixed-top">
      <div class="container">
        <!-- logo -->
        <a class="logo" href="./user.html"><img src="./img/LOGO.png" src="index.html"></a>
        <!-- 小菜单 -->
        <button
          class="navbar-toggler"
          type="button"
          data-bs-toggle="collapse"
          data-bs-target="#menu">
          <img src="./img/tong.svg" width="40px"></img>
        </button>

        <!-- 大菜单 -->
        <div class="collapse navbar-collapse justify-content-end" id="menu">
          <ul class="navbar-nav">
            <li class="nav-item">
              <a class="nav-link " href="index.html" >首页</a>    
            </li>
            <li class="nav-item">
              <a class="nav-link " href="about.html" >关于KFC</a>
            </li>
            <li class="nav-item">
              <a class="nav-link " href="scar.html" >购物车</a>
            </li>
            <li class="nav-item active">
              <a class="nav-link " href="login.html" >登录</a>
            </li>
          </ul>
        </div>
      </div>
    </nav>


    <div id="user">
        <div class="container">
          <h1 class="mt-5">用户中心</h1>
          <div class="fu">
          <div class="selc">
            <ul>
              <li @click="usn=0" :class="{active : usn == 0 }">基本信息</li>
              <li @click="usn=1" :class="{active : usn == 1 }">我的订单</li>
              <li @click="usn=2" :class="{active : usn == 2 }">活动兑换</li>
            </ul>
          </div>
          <div class="more">
            <div :class="{active : usn == 0 }">
              <h5>ID:测试人员</h5>
              <h5>性别:男</h5>
              <h5>电话:17762423853</h5>
              <h5>邮箱:1844962257@qq.com</h5>
              <h5>qq:1844962247</h5>
              <h5>所在地:湖北武汉</h5>
              <h5>个人简介:前端好难啊,学不下去了</h5>
            </div>
            <div :class="{active : usn == 1 }" style="text-align: center; padding-right: 70px;"><h3>一个订单都没有,不用看了</h3><h3>去线下餐厅吃吧</h3><a href="./end.html" style="text-decoration: none; color: white;background-color: rgb(223, 56, 34);padding: 6px 20px;border-radius: 10px;">GO</a></div>
            <div :class="{active : usn == 2 }">
              <h3>请输入兑换码</h3>
              <input type="text">
              <button>确定</button>
              <img src="img/kfcvouchers-m-2x.jpg" style="width: 500px; margin:20px auto;">
            </div>
          </div>
        </div>

        </div>
    </div>



    

    <!-- footer -->
    <footer class="bd-footer py-5 mt-5 bg-white">
            <div class="container py-3">
              <div class="row">
                <div class="col-lg-3 mb-3 text-black">
                  <img src="img/logo-kfc.svg" style="margin: 5px 0 0;">
                  <ul class="list-unstyled">
                    <li><img src="./img/download.png" alt=""></li>
                    <h4 style="margin-top: 10px;">湖北-武汉</h4>
                  </ul>
                </div>
                <div class="col-lg-3 mb-3 text-black">
                  <h3>背后故事</h3>
                  <ul class="list-unstyled">
                    <li>关于KFC</li>
                    <li>经营理念</li>
                    <li>后勤保障</li>
                    <li>保护环境</li>
                  </ul>
                </div>
                <div class="col-lg-3 mb-3 text-black">
                  <h3>欢迎您来</h3>
                  <ul class="list-unstyled">
                    <li>加盟我们</li>
                    <li>您的建议</li>
                    <li>意见反馈</li>
                    <li>餐厅地图</li>
                  </ul>
                </div>
                <div class="col-lg-3 mb-3 text-black">
                  <h3>企业责任</h3>
                  <ul class="list-unstyled">
                    <li>以食为天</li>
                    <li>以人为本</li>
                    <li>以爱为先</li>
                    <li>以绿为源</li>
                  </ul>
                </div>
              </div>
      
              <div class="footer-row-bottom end">
                <div class="footer-columnb"><img src="img/Youtube.png" alt=""></div>
                <div class="footer-columnb"><img src="img/Twitter.png" alt=""></div>
                <div class="footer-columnb"><img src="img/TikTok.png" alt=""></div>
                <div class="footer-columnb"><img src="img/Facebook.png" alt=""></div>
                <div class="footer-columnb"><img src="img/Instagram.png" alt=""></div>
              </div>
      
              <div class="footter-icon end">
                <div class="footer-columnb"><span>Secure Payment</span></div>
                <div class="footer-columnb"><img src="img/GrabPay.png" alt=""></div>
                <div class="footer-columnb"><img src="img/Mastercard.png" alt=""></div>
                <div class="footer-columnb"><img src="img/Shopeepay.png" alt=""></div>
                <div class="footer-columnb"><img src="img/MaybankQR.png" alt=""></div>
                <div class="footer-columnb"><img src="img/Visa.png" alt=""></div>
                <div class="footer-columnb"><img src="img/Boost.png" alt=""></div>
                <div class="footer-columnb"><img src="img/TouchNGo.png" alt=""></div>
              </div>
      
              <div class="end"><span>Terms of Use
                |
                Privacy Policy
                |
                © Copyright 2022 QSR Stores Sdn. Bhd. (1098054)</span></div>
            </div>
      </footer>
  
  
  
    </body>     


    <script>
      new Vue({
      el:'#user',
        data:{
        usn:0
      }
    })
    </script>
        
</html>
      